package cn.xinfei.xdecision.common.dao.datax.datamanage.v2;

import cn.xinfei.xdecision.common.model.datax.datamanage.v2.VariableTreeParam;
import cn.xinfei.xdecision.common.model.datax.datamanage.v2.VariableTypeUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface VariableTypeUserMapper extends BaseMapper<VariableTypeUser> {


    /**
     * createFieldTypeUserRel:(新增变量类型). <br/>
     * @param paramMap 参数集合
     * @return 插入成功
     */
    boolean createVariableTypeUserRel(Map<String, Object> paramMap);

    /**
     * batchBindEngineFieldTypeUserRel:(把一批通用变量类型id中不存在的类型id批量绑定到引擎). <br/>
     *
     * @param paramMap 参数集合
     * @return 插入成功
     */
    boolean batchBindEngineVariableTypeUserRel(Map<String, Object> paramMap);

    /**
     * updateFieldTypeUserRel:(更新变量类型名). <br/>
     *
     * @param param 参数集合
     * @return 更新成功
     */
    boolean updateVariableTypeUserRel(VariableTreeParam param);

}
